<!--
 * @Author: zhangfan
 * @Date: 2024-06-21 11:56:22
 * @LastEditors: ***
 * @LastEditTime: 2024-06-21 16:50:13
 * @Description: select组件
 * @FilePath: /demo/src/components/select.vue
-->
<template>
  <div class="hello select-con">
    <label>选择框：</label>
    <el-select v-bind="$attrs" v-model="value" style="width: 100%"></el-select>
  </div>
</template>

<script>
export default {
  name: 'Select',
  data () {
    return {
      value: ''
    }
  }
}
</script>

<style scoped lang="scss">
.select-con {
  margin: 20px;
  display: flex;
  align-items: center;
  label {
    width: 170px;
  }
}
</style>
